/****************************************************************

kernel/driver/kb.h
Keyboard driver includes for AWOS

****************************************************************/

#ifndef ___DRIVER_KB_H_
#define ___DRIVER_KB_H_

//keyboard states
#define KBD_CTRL 0x01
//#define KBD_RCTRL 0x02
#define KBD_ALT  0X04
//#define KBD_RALT  0x08
#define KBD_LOCKS 0x10
#define KBD_LOCKN 0x20
#define KBD_LOCKC 0x40
#define KBD_SHIFT 0x80

//raw keys
#define RAW_CONTROL  0x1D
#define RAW_LSHIFT   0x2A
#define RAW_RSHIFT   0x36
#define RAW_ALT      0x38
#define RAW_LOCK_CAP 0x3A
#define RAW_LOCK_NUM 0x45
#define RAW_LOCK_SCR 0x46

//raw F?? keys
#define RAW_F1  0x3B
#define RAW_F2  0x3C
#define RAW_F3  0x3D
#define RAW_F4  0x3E
#define RAW_F5  0x3F
#define RAW_F6  0x40
#define RAW_F7  0x41
#define RAW_F8  0x42
#define RAW_F9  0x43
#define RAW_F10 0x44
#define RAW_F11 0x57
#define RAW_F12 0x58

#endif //#ifndef ___DRIVER_KB_H_
